/**
 * 
 */
package com.vanstone.imgapp.api.img;

import com.vanstone.common.lang.BaseEnum;

/**
 * @author shipeng <br />
 * 
 */
public enum ArticleType implements BaseEnum<Integer> {

  Common("普通文章", 1),

  Album("相册", 2);

  private String desc;
  private Integer code;

  private ArticleType(String desc, Integer code) {
    this.desc = desc;
    this.code = code;
  }

  @Override
  public Integer getCode() {
    return this.code;
  }

  @Override
  public String getDesc() {
    return this.desc;
  }

}
